package com.his.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName drug_info
 */
@TableName(value ="drug_info")
@Data
public class DrugInfo implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private String drugCode;

    /**
     * 
     */
    private String drugName;

    /**
     * 
     */
    private String drugFormat;

    /**
     * 
     */
    private String drugUnit;

    /**
     * 
     */
    private String manufacturer;

    /**
     * 
     */
    private String drugDosage;

    /**
     * 
     */
    private String drugType;

    /**
     * 
     */
    private BigDecimal drugPrice;

    /**
     * 
     */
    private String mnemonicCode;

    /**
     * 
     */
    private Date creationDate=new Date();

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    private Integer drugStore;

    //扩展属性
    @TableField(exist = false)
    private Integer drugNumber;
    @TableField(exist = false)
    private Integer pid;

    @TableField(exist = false)
    private String drugState;

}